package com.yunchao.maintenance.domain.model

import com.yunchao.maintenance.data.datasource.model.MaintenanceInfoEntityModel

internal data class MaintenanceInfoModel   (
    val lockNo: String,
    val manufactureDate: String,
    val salesLocation: String,
    val warrantyPeriod: String,
    val lockTid: String
)

internal fun MaintenanceInfoModel.toEntityModel() = MaintenanceInfoEntityModel(
    lockNo = lockNo,
    manufactureDate = manufactureDate,
    warrantyPeriod = warrantyPeriod,
    salesLocation = salesLocation,
    lockTid = lockTid
)